package com.cust.cow.service;

import com.cust.cow.common.CattleAddress;
import com.cust.cow.common.Result;
import com.cust.cow.pojo.breed;
import com.cust.cow.pojo.cattle;

import java.util.List;

public interface CattleService {
    public List<cattle> findCattleAll();

    public cattle findCattleById(Integer cattleId);

    public Result insertCattle(cattle cattle);

    //删除
    public Result deleteCattle(Integer cattleId);

    //查询所有牛舍信息
    public List<CattleAddress> findCattleAddress();

    //根据cattleId查询牛舍地址
    public CattleAddress findCattleAddressById(Integer cattleId);

}
